package com.lucweb.entity;

import javax.persistence.*;

/*
CREATE TABLE sys_jctask
(
  task_id      VARCHAR(255) NOT NULL
    PRIMARY KEY,
  task_name    VARCHAR(255) NULL,
  task_time    VARCHAR(255) NULL,
  task_people  VARCHAR(255) NULL,
  task_address VARCHAR(255) NULL
);

 */


@Entity
@Table(name = "sys_jctask", schema = "firesystem", catalog = "")
public class Jctask {
    //任务ID
    private String taskId;
    //任务名称
    private String taskName;
    //任务执行时间
    private String taskTime;
    //责任人
    private String taskPeople;
    //任务地点
    private String taskAddress;
    //报告出具-预约授权人
    private String bgcjYysqr;
    //实际报告出具人
    private String bgcjSjbgcjr;
    //调度二次检查报告装订
    private String bgcjDdecjc;
    //页面排版
    private String bgcjYmpb;
    //签字
    private String bgcjQz;
    //缺项漏项检查
    private String bgcjQxlxjc;
    //报告接收单上传
    private String bgcjBgjsdsc;
    //竣工要包含报验材料
    private String bgjfJgybh;
    //发票交付
    private String bgjfFpjf;
    //甲方报告接收单
    private String bgjfJfbgjsd;
    //发票开具
    private String cwglFpkj;
    //发票金额与甲方核实
    private String cwglFpje;
    //专普票确认
    private String cwglZppqr;
    //申请表上传
    private String cwglSqbsc;

    @Id
    @Column(name = "task_id", nullable = false, length = 255)
    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    @Basic
    @Column(name = "task_name", nullable = true, length = 255)
    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    @Basic
    @Column(name = "task_time", nullable = true, length = 255)
    public String getTaskTime() {
        return taskTime;
    }

    public void setTaskTime(String taskTime) {
        this.taskTime = taskTime;
    }

    @Basic
    @Column(name = "task_people", nullable = true, length = 255)
    public String getTaskPeople() {
        return taskPeople;
    }

    public void setTaskPeople(String taskPeople) {
        this.taskPeople = taskPeople;
    }

    @Basic
    @Column(name = "task_address", nullable = true, length = 255)
    public String getTaskAddress() {
        return taskAddress;
    }

    public void setTaskAddress(String taskAddress) {
        this.taskAddress = taskAddress;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Jctask jctask = (Jctask) o;

        if (taskId != null ? !taskId.equals(jctask.taskId) : jctask.taskId != null) return false;
        if (taskName != null ? !taskName.equals(jctask.taskName) : jctask.taskName != null) return false;
        if (taskTime != null ? !taskTime.equals(jctask.taskTime) : jctask.taskTime != null) return false;
        if (taskPeople != null ? !taskPeople.equals(jctask.taskPeople) : jctask.taskPeople != null) return false;
        if (taskAddress != null ? !taskAddress.equals(jctask.taskAddress) : jctask.taskAddress != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = taskId != null ? taskId.hashCode() : 0;
        result = 31 * result + (taskName != null ? taskName.hashCode() : 0);
        result = 31 * result + (taskTime != null ? taskTime.hashCode() : 0);
        result = 31 * result + (taskPeople != null ? taskPeople.hashCode() : 0);
        result = 31 * result + (taskAddress != null ? taskAddress.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "bgcj_yysqr", nullable = true, length = 255)
    public String getBgcjYysqr() {
        return bgcjYysqr;
    }

    public void setBgcjYysqr(String bgcjYysqr) {
        this.bgcjYysqr = bgcjYysqr;
    }

    @Basic
    @Column(name = "bgcj_sjbgcjr", nullable = true, length = 255)
    public String getBgcjSjbgcjr() {
        return bgcjSjbgcjr;
    }

    public void setBgcjSjbgcjr(String bgcjSjbgcjr) {
        this.bgcjSjbgcjr = bgcjSjbgcjr;
    }

    @Basic
    @Column(name = "bgcj_ddecjc", nullable = true, length = 255)
    public String getBgcjDdecjc() {
        return bgcjDdecjc;
    }

    public void setBgcjDdecjc(String bgcjDdecjc) {
        this.bgcjDdecjc = bgcjDdecjc;
    }

    @Basic
    @Column(name = "bgcj_ympb", nullable = true, length = 255)
    public String getBgcjYmpb() {
        return bgcjYmpb;
    }

    public void setBgcjYmpb(String bgcjYmpb) {
        this.bgcjYmpb = bgcjYmpb;
    }

    @Basic
    @Column(name = "bgcj_qz", nullable = true, length = 255)
    public String getBgcjQz() {
        return bgcjQz;
    }

    public void setBgcjQz(String bgcjQz) {
        this.bgcjQz = bgcjQz;
    }

    @Basic
    @Column(name = "bgcj_qxlxjc", nullable = true, length = 255)
    public String getBgcjQxlxjc() {
        return bgcjQxlxjc;
    }

    public void setBgcjQxlxjc(String bgcjQxlxjc) {
        this.bgcjQxlxjc = bgcjQxlxjc;
    }

    @Basic
    @Column(name = "bgcj_bgjsdsc", nullable = true, length = 255)
    public String getBgcjBgjsdsc() {
        return bgcjBgjsdsc;
    }

    public void setBgcjBgjsdsc(String bgcjBgjsdsc) {
        this.bgcjBgjsdsc = bgcjBgjsdsc;
    }

    @Basic
    @Column(name = "bgjf_jgybh", nullable = true, length = 255)
    public String getBgjfJgybh() {
        return bgjfJgybh;
    }

    public void setBgjfJgybh(String bgjfJgybh) {
        this.bgjfJgybh = bgjfJgybh;
    }

    @Basic
    @Column(name = "bgjf_fpjf", nullable = true, length = 255)
    public String getBgjfFpjf() {
        return bgjfFpjf;
    }

    public void setBgjfFpjf(String bgjfFpjf) {
        this.bgjfFpjf = bgjfFpjf;
    }

    @Basic
    @Column(name = "bgjf_jfbgjsd", nullable = true, length = 255)
    public String getBgjfJfbgjsd() {
        return bgjfJfbgjsd;
    }

    public void setBgjfJfbgjsd(String bgjfJfbgjsd) {
        this.bgjfJfbgjsd = bgjfJfbgjsd;
    }

    @Basic
    @Column(name = "cwgl_fpkj", nullable = true, length = 255)
    public String getCwglFpkj() {
        return cwglFpkj;
    }

    public void setCwglFpkj(String cwglFpkj) {
        this.cwglFpkj = cwglFpkj;
    }

    @Basic
    @Column(name = "cwgl_fpje", nullable = true, length = 255)
    public String getCwglFpje() {
        return cwglFpje;
    }

    public void setCwglFpje(String cwglFpje) {
        this.cwglFpje = cwglFpje;
    }

    @Basic
    @Column(name = "cwgl_zppqr", nullable = true, length = 255)
    public String getCwglZppqr() {
        return cwglZppqr;
    }

    public void setCwglZppqr(String cwglZppqr) {
        this.cwglZppqr = cwglZppqr;
    }

    @Basic
    @Column(name = "cwgl_sqbsc", nullable = true, length = 255)
    public String getCwglSqbsc() {
        return cwglSqbsc;
    }

    public void setCwglSqbsc(String cwglSqbsc) {
        this.cwglSqbsc = cwglSqbsc;
    }

    @Override
    public String toString() {
        return "Jctask{" +
                "taskId='" + taskId + '\'' +
                ", taskName='" + taskName + '\'' +
                ", taskTime='" + taskTime + '\'' +
                ", taskPeople='" + taskPeople + '\'' +
                ", taskAddress='" + taskAddress + '\'' +
                ", bgcjYysqr='" + bgcjYysqr + '\'' +
                ", bgcjSjbgcjr='" + bgcjSjbgcjr + '\'' +
                ", bgcjDdecjc='" + bgcjDdecjc + '\'' +
                ", bgcjYmpb='" + bgcjYmpb + '\'' +
                ", bgcjQz='" + bgcjQz + '\'' +
                ", bgcjQxlxjc='" + bgcjQxlxjc + '\'' +
                ", bgcjBgjsdsc='" + bgcjBgjsdsc + '\'' +
                ", bgjfJgybh='" + bgjfJgybh + '\'' +
                ", bgjfFpjf='" + bgjfFpjf + '\'' +
                ", bgjfJfbgjsd='" + bgjfJfbgjsd + '\'' +
                ", cwglFpkj='" + cwglFpkj + '\'' +
                ", cwglFpje='" + cwglFpje + '\'' +
                ", cwglZppqr='" + cwglZppqr + '\'' +
                ", cwglSqbsc='" + cwglSqbsc + '\'' +
                '}';
    }
}
